﻿using System;
using System.Runtime.InteropServices;

namespace ConsoleApp12
{
    class Program
    {

        static void Main(string[] args)
        {

            try
            {
                if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
                {
                    Window.Run();
                }
                else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
                {
                    Linux.Run();
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }
        }






    }
}
